package com.uff.hmstpa.model.domain;

public class Doctor {
    private Specialty specialty;
    private String CRM;
    private String name;

    public Doctor() {}

    public String getCRM() {
        return CRM;
    }

    public void setCRM(String CRM) {
        this.CRM = CRM;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Specialty getSpecialty() {
        return specialty;
    }

    public void setSpecialty(Specialty specialty) {
        this.specialty = specialty;
    }

    @Override
    public String toString() {
        return this.getName() + " (" + this.getSpecialty() + ")";
    }
    
}
